

export const rewardTypeDict = [
  {code: 'COMMISSION', codeName: '佣金'},
  {code: 'DRP', codeName: '分销'},
];


export function rewardTypeGetName(code){
  for (let i = 0; i < rewardTypeDict.length; i++) {
    if (rewardTypeDict[i].code === code)
      return rewardTypeDict[i].codeName;
  }

  return "未知";
}
